' definition for language in multi-language management
Global Const LNG_FRENCH = 1
Global Const LNG_DUTCH = 2
Global Const LNG_GERMAN = 3
Global Const LNG_ENGLISH = 4
Global Const LNG_ITALIAN = 5
Global Const LNG_SPANISH = 6
' definition for message position in multi-language message box
Global Const MB_MESSAGE_LEFT = 0
Global Const MB_MESSAGE_CENTER = 8192
Global Const MB_MESSAGE_RIGHT = 16384
' definition for timeout management in multi-language message box
Global Const MB_TIMEOUT_2 = 32768
Global Const MB_TIMEOUT_4 = 2 * MB_TIMEOUT_2
Global Const MB_TIMEOUT_8 = 2 * MB_TIMEOUT_4
Global Const MB_TIMEOUT_16 = 2 * MB_TIMEOUT_8
Global Const MB_TIMEOUT_6 = MB_TIMEOUT_2 Or MB_TIMEOUT_4
Global Const MB_TIMEOUT_10 = MB_TIMEOUT_2 Or MB_TIMEOUT_8
Global Const MB_TIMEOUT_12 = MB_TIMEOUT_4 Or MB_TIMEOUT_8
Global Const MB_TIMEOUT_14 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8
Global Const MB_TIMEOUT_18 = MB_TIMEOUT_2 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_20 = MB_TIMEOUT_4 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_22 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_24 = MB_TIMEOUT_8 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_26 = MB_TIMEOUT_2 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_28 = MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
Global Const MB_TIMEOUT_30 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
Global Const MB_DISPLAY_TIMEOUT = 524288
' definition for properties for language management
Global Const RS_CAPTION = 1
Global Const RS_TEXT = 2
Global Const RS_DATAFIELD = 4
Global Const RS_DATASOURCE = 8
Global Const RS_TAG = 16
' structure for splitting path
Type tagSPLITPATH
nDrive As String
nDir As String
nName As String
nExt As String
End Type
' structure for serialization
Type tagSERIALDATA
Description1 As String * 50 'serialization description 1
Description2 As String * 50 'serialization description 2
Number As Long 'serialization number
dummy As String * 50 'reserved for future use
End Type
Rem Don't Remove It
Declare Sub cDisableFI Lib "time2win.dll" (Ctl As Control)
Declare Sub cEnableFI Lib "time2win.dll" (Ctl As Control)
Declare Function cLngMsgBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String) As Integer
Declare Sub cLngBoxMsg Lib "time2win.dll" Alias "cLngMsgBox" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String)
Declare Function cLngInpBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Title As String, ByVal Default As String) As String
Declare Sub cLngSysMenu Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal hWnd As Integer)
Declare Function cReadCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
Declare Function cIsSerial Lib "time2win.dll" (ByVal file1 As String) As Integer
Declare Function cSerialGet Lib "time2win.dll" (ByVal File As String, SERIALDATA As tagSERIALDATA) As Integer
Declare Function cSerialInc Lib "time2win.dll" (ByVal File As String, ByVal Increment As Long) As Integer
Declare Function cSerialPut Lib "time2win.dll" (ByVal File As String, SERIALDATA As tagSERIALDATA) As Integer
Declare Function cSerialRmv Lib "time2win.dll" (ByVal File As String) As Integer
Declare Sub cChangeChars Lib "time2win.dll" (Txt As String, charSet As String, newCharSet As String)
Declare Function cGetIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
Declare Function cGetIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String) As String
Declare Function cEXEnameActiveWindow Lib "time2win.dll" () As String
Declare Function cSplitPath Lib "time2win.dll" (ByVal nFilename As String, SPLITPATH As Any) As Integer
Declare Function cInsertBlocks Lib "time2win.dll" (Txt As String, Insert As String) As String